TEST = {
  destination: "/topic/chat.general",
  login: "guest",
  password: "guest",
  url: "ws://localhost:15674/ws",
  badUrl: "ws://localhost:61625",
  timeout: 2000,
  largeMessageSize: 1023 // in KB, in Node total WebSocket frames needs to be lesser than 1MB
};

WebSocket = require('websocket').w3cwebsocket;
StompJs = require('../../bundles/stomp.umd.js');
Stomp = StompJs.Stomp;

if (typeof TextEncoder !== 'function') {
  const TextEncodingPolyfill = require('text-encoding');
  TextEncoder = TextEncodingPolyfill.TextEncoder;
  TextDecoder = TextEncodingPolyfill.TextDecoder;
}

// For ActiveMQ "ws://localhost:61614/stomp
